package cn.strive.eams.user.service;

import cn.strive.eams.user.pojo.dto.*;
import cn.strive.eams.user.pojo.vo.UserVO;

import java.util.List;

public interface UserService {
    UserVO login(UserLoginParam userLoginParam);

    UserVO backup(UserLoginParam userLoginParam);

    List<UserVO> selectAll(UserQuery userQuery);

    void saveInfo(UserSaveParam userSaveParam);

    void savePassword(UserSavePassword userSavePassword);

    void updateStatus(Long id, String status);

    void updatePassword(Long id);

    void delete(Long id);

    void deleteBatch(List<Long> ids);

    List<UserVO> selectLeader(LeaderQuery leaderQuery);

    List<UserVO> selectAudit(Long leader);

    List<UserVO> selectAllocation(Long role);

    List<UserVO> selectDrivers();
}
